
                    Yano SATA RAID CONTROLLER 
                       Yano Trusty RAID

                   RedHat Linux Fedora core 2 


**********************************************************************
**    First-time installation                                       **
**********************************************************************

	A. Before Installation 
	 - Under DOS/Windows environment

		a. Dump it into a floppy disk.
			X:\PATH\rawrite.exe dd.img A:
			Tips: You can get rawrite.exe from RedHat Fedora Core 2 installation disk #1
			      "\dosutils" directory.  
			      
	 - Under Unix enviroment
	 
		a.	              
                   # unzip install.zip	   
		b.           
                   # dd if=dd.img of=/dev/fd0
	B. Installation

		a. Booting from Installation CD #1 
		b. On "Welcome to Fedora Core 2 Linux" installation screen, a prompted lable "boot:"
			Press <ENTER>

			                       When [Warning] message appeared:
			***********************************************************************************                        
			**  No hard drives have been found.
			**  You probably need to manually choose device drivers for installation to succeed.
			**  Would like to select drivers now?
			***********************************************************************************

			Before Say "YES" here, you need to do something.......

			insert driver disk (dd.img) into your floppy drive 
			and Press Ctl+Alt+F2

				#modprobe floppy
				#mkdir /floppy
				#mount /dev/fd0 /floppy
				#cd /floppy
				#cd /FC5.patch/2.6.5-1.358/i586/
				#insmod acs_ame.ko

			than Press Ctl+Alt+F1 back to [Warning] page:
			Say "YES" here
			than Press [Done]

		c. Than continue your installing procedure...
		d. When CD #1 eject......
		   before CD #2 insert (CD change), you need to copy two files acs_ame.ko modprobe.conf to your system.
			Press Ctl+Alt+F2

				;if your system is SMP(i386) 
                                #cp /floppy/FC5.patch/2.6.5-1.358smp/i686/acs_ame.ko /mnt/sysimage/lib/modules/2.6.5-1.358smp/kernel/drivers/scsi/
                                #cp /floppy/FC5.patch/2.6.5-1.358/i686/acs_ame.ko /mnt/sysimage/lib/modules/2.6.5-1.358/kernel/drivers/scsi/ 
                
                                ;if your system is SMP(x86_64)
                                #cp /floppy/FC5.patch/2.6.5-1.358smp/x86_64/acs_ame.ko /mnt/sysimage/lib/modules/2.6.5-1.358smp/kernel/drivers/scsi/
                                #cp /floppy/FC5.patch/2.6.5-1.358/x86_64/acs_ame.ko /mnt/sysimage/lib/modules/2.6.5-1.358/kernel/drivers/scsi/					
                                #ls /mnt/sysimage/lib/modules/2.6.5-1.358smp/kernel/drivers/scsi/
                                #ls /mnt/sysimage/lib/modules/2.6.5-1.358/kernel/drivers/scsi/

				;if your system is not SMP(i386) 
                                #cp /floppy/FC5.patch/2.6.5-1.358/i686/acs_ame.ko /mnt/sysimage/lib/modules/2.6.5-1.358/kernel/drivers/scsi/ 

                    		;if your system is not SMP(x86_64)
                                #cp /floppy/FC5.patch/2.6.5-1.358/x86_64/acs_ame.ko /mnt/sysimage/lib/modules/2.6.5-1.358/kernel/drivers/scsi/ 
                                #ls /mnt/sysimage/lib/modules/2.6.5-1.358/kernel/drivers/scsi/ 


			Press Ctl+Alt+F7 back to graphic mode, continue your installation procedure.

		e. When the "Installation Complete" dialog appears. *DO NOT* press ENTER. 
			Press Ctl+Alt+F2 to activate the command shell and type in the following comamnds.

                                #chroot /mnt/sysimage
                                ;use "vi" edit /etc/modprobe.conf
                
                                add this context as ==> alias scsi_hostadapter acs_ame
                
                                =====================================    
                                ;if your system is SMP
                                #/sbin/mkinitrd -v -f /boot/initrd-2.6.5-1.358smp.img 2.6.5-1.358smp
                                #/sbin/mkinitrd -v -f /boot/initrd-2.6.5-1.358.img 2.6.5-1.358
                                =====================================
				;if your system is not SMP
				#/sbin/mkinitrd -v -f /boot/initrd-2.6.5-1.358.img 2.6.5-1.358

			Press Ctl+Alt+F7 back to graphic mode.....
			Press ENTER to finish setup.


**********************************************************************
**  Installing raid driver on an Existing System.                   **
**********************************************************************


  $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
  $$   extract acs_ame.ko from dd.img                     $$
  $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

   # mkdir /root/tmp                   
   # dd if=dd.img of=/dev/fd0
   # mount /dev/fd0 /mnt
   # cp /mnt/modules.cgz /root/tmp
   # cd /root/tmp
   # gzip -cd modules.cgz|cpio -id 

   You can get acs_ame.ko from 'kernel' (EX. 2.6.5-1.358)
   You can use insmod to install Yano RAID driver acs_ame.ko manually

   # insmod ./acs_ame.ko
   # copy acs_ame.ko to /lib/modules/2.6.5-1.358/kernel/drivers/scsi/
   # make new initrd image

   An initrd image is needed for loading your SCSI module at boot time.
   So you need update your initrd image.....

   Insert and add this context description into /etc/modprobe.conf

   Example:
  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  @       ......
  @   alias scsi_hostadapter acs_ame		<----add this entry
  @       ......
  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

  Build up a new initrd image. Assume your kernel version is 2.6.5-1.358.

  # mkinitrd -f -v /boot/initrd-2.6.5-1.358.custom.img 2.6.5-1.358

  insert and add this context description into /boot/grub/grub.conf

  Example:
  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  @  ......
  @ title CentOS Linux (2.6.5-1.358)
  @	root (hd0,0)
  @	kernel /vmlinuz-2.6.5-1.358 ro root=/dev/hda2		<----This depends on your root partition
  @	initrd /initrd-2.6.5-1.358.img
  @
  @ title CentOS Linux (2.6.5-1.358)custom			<----add this entry
  @	root (hd0,0)						<----add this entry
  @	kernel /vmlinuz-2.6.5-1.358 ro root=/dev/hda2		<----add this entry and it depends on your root partition
  @   initrd /initrd-2.6.5-1.358.custom.img			<----add this entry
  @  ......
  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 

  E.#reboot 


